package com.aaa.day1110.demo2;

/**
 * @Description:
 * @author:LiWei
 * @date:2022年11月10日17:32
 */
public class Count extends Way{
    @Override
    public void mianji(int width, int height) {
        System.out.println("面积 = "+width*height);
    }

    @Override
    public void zhouchang(int width, int height) {
        System.out.println("周长 = " + (width+height)*2);
    }
}
